<%@ page import="java.util.Date" %>
<%@ page import="java.text.SimpleDateFormat" %><%--
  Created by IntelliJ IDEA.
  User: wangxixi
  Date: 2021/3/11
  Time: 13:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <%!
        Date time =new Date();   %>
    <%
        SimpleDateFormat simpleDateFormat=new SimpleDateFormat("yyy年MM月dd日 E HH时mm分ss秒");
    %>
    <%out.println(simpleDateFormat.format(time));%>

    <title>学生信息管理页面</title>

</head>
<body onload="job()">
<div class="container">
    <table class="table" id="table">
        <button class="btn btn-info" id="user_add" data-toggle="modal" data-target="#myModal">新增</button>
        <button class="btn btn-info" id="user_delete">删除</button>
        <button class="btn btn-info" id="user_edit" data-toggle="modal" data-target="#myModal">编辑</button>
        <button class="btn btn-info" id="user_find">查询</button>
        <input type="text" id="s_code" placeholder="按学号查询" >
        <input type="text" id="n_code" placeholder="按姓名查询" >
        <tr>
            <td class="tab">选择</td>
            <td class="tab">学号</td>
            <td class="tab">姓名</td>
            <td class="tab">性别</td>
            <td class="tab">出生日期</td>
            <td class="tab">邮箱</td>
            <td class="tab">备注</td>
        </tr>
        <tbody id="tbody">
        </tbody>
    </table>
    <!-- 模态框（Modal） -->
    <div class="modal " id="myModal" role="dialog">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button class="close" data-dismiss="modal" aria-hidden="true">
                        <span>&times;</span>
                    </button>
                </div>
                <div class="modal-body" id="modal-body">
                    <from class="">
                        <p>学号<input class="form-control" type="text"  id="m_code" placeholder="请输入工号">  </p>
                        <p>姓名<input class="form-control" type="text"  id="m_userName" placeholder="请输入姓名" > </p>
                        <p>性别<input class="form-control" type="text"  id="m_sex" placeholder="请输入性别">  </p>
                        <p>出生日期<input  class="form-control"  type="text"  id="m_birthday"placeholder="请输入出生日期">  </p>
                        <p>邮箱<input class="form-control" type="text"  id="m_email" placeholder="请输入邮箱">  </p>
                        <p>备注<input class="form-control" type="text"  id="m_comments" placeholder="请输入备注">  </p>
                    </from>
                </div>
                <div class="modal-footer">
                    <button id="save" class="btn btn-info" data-dismiss="modal">保存</button>
                </div>
            </div>
        </div>
    </div>
</div>
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <script src="js/jquery-3.3.1.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/start.js"></script>

<%--
<input type="button" name="submit" onclick="javascript:history.back(-1);"value="返回上一页">
--%>
<style>
    .oo{
        width: 400px;
        height: 400px;
        margin-left: 1000px;
    }
</style>
<div class="oo" >
    <h3 >学生页面</h3>
   <%-- <input type="button" value="返回上一层" id="btn2" onclick="window.history.go(-1)">--%>
    <button class="btn btn-info"  onclick="window.open('manage.jsp')" type="submit">返回上一层</button><br>
</div>



</body>
</html>
